package com.app.designpatternslearn.behavior.commandpattern.code

class Shop {

    var id: Long? = null
    var name: String? = null

    /**
     * 购买商品
     */
    fun buyShop() {
        println("Shop ---> buyShop ---> id --> $id ---> name --> $name")
    }

    /**
     * 退订商品
     */
    fun returnShop() {
        println("Shop ---> returnShop ---> id --> $id ---> name --> $name")
    }
}